
       PROGRAM-ID. HELLO.
       CONFIGURATION SECTION.
       REPOSITORY.
           CLASS J-STR AS "java.lang.String"
           CLASS J-SYS AS "java.lang.System"
           .
       PROCEDURE DIVISION.
           INVOKE J-SYS:>out "println" USING J-STR:>new("Hello World!")
           GOBACK.    
